﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<IEnumerable<SinBiota.Model.Entities.Taxon>>" %>
<%@ Import Namespace="Localization" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	<%: Strings.Taxonomy %>
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

    <h2><%: Strings.Taxonomy %></h2>
    <% Html.BeginForm("Search","Taxonomy"); %>
    <div class="display-label"><%: Strings.Search %></div><% Html.RenderPartial("SearchBox"); %>
    <% Html.EndForm(); %>


    <h3><%: Strings.ListOfKingdoms%></h3>
        <ul class="taxonlist">
        <% foreach (var taxon in Model) {%>
            <li class="kingdom"><%: Html.ActionLink(taxon.Name, "Details", new { taxon.Id })%></li>
        
        <%}%>
        </ul>
</asp:Content>

<asp:Content ID="Content3" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>

